package cn.gson.boot.model.pojos;

import javax.persistence.*;
import java.util.Objects;

@Entity
@Table(name = "stage_", schema = "boot", catalog = "")
public class Stage {//阶段表
    private int stageId;//阶段id
    private String stageName;//阶段名

    @Id
    @Column(name = "stage_id", nullable = false)
    public int getStageId() {
        return stageId;
    }

    public void setStageId(int stageId) {
        this.stageId = stageId;
    }

    @Basic
    @Column(name = "stage_name", nullable = true, length = 200)
    public String getStageName() {
        return stageName;
    }

    public void setStageName(String stageName) {
        this.stageName = stageName;
    }

    @Override
    public String toString() {
        return "{" +
                "stageId=" + stageId +
                ", stageName='" + stageName + '\'' +
                '}';
    }
}
